Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Renesas Electronics/R7FA4M1AB/PORT1/PCNTR1#0x0
PDR=0, PODR=0
Port Control Register 1
Pmn Direction
0 (0): Input (functions as an input pin)
1 (1): Output (functions as an output pin).
Pmn Output Data
0 (0): Low output
1 (1): High output.
https://github.com/cmsis-svd/cmsis-svd-data